package com.example.mymvvmdemo.models.my_article;

import android.app.Activity;

import com.example.mymvvmdemo.base.BaseViewModel;
import com.example.mymvvmdemo.models.add_article.AddArticleActivity;
import com.example.mymvvmdemo.models.main.fragment.home.entity.BlogArticlesEntity;

import java.util.ArrayList;

public class MyArticleViewModel extends BaseViewModel {

    public ArrayList<BlogArticlesEntity.DataDTO> articleList = new ArrayList<>();
    public boolean isRefresh = true;//是否刷新
    public int id;
    public boolean isEdit = false;

    public void startAddArticleActivity(Activity activity) {
        AddArticleActivity.startAddArticleActivity(activity);
    }

}
